package com.mmp.main.util;

import org.apache.commons.lang.StringEscapeUtils;

import com.mmp.common.logging.LOGGER_TYPE;

public class Default {

	public final static String FILES_UPLOAD_DIR = "D:\\uploads\\";
	public final static String MULTIVALUE_SEPARATOR = "$";
	public final static String FILE_NAME_SEPARATOR = "_sfn_";  // sfn : start of original file name
	public final static String SEARCH_DEST_PARAM_NAME = "dest";
	public final static String SEARCH_DEST_UPDATE_DEVICE_PARAM_VALUE = "update_device";
	public final static String SEARCH_DEST_SCRAPP_DEVICE_PARAM_VALUE = "scrapp_device";
	public final static String SEARCH_DEST_CANCEL_JOB_OREDR_PARAM_VALUE = "cancel_joborder";
	// public final static String SEARCH_DEST_UPDATE_JOB_OREDR_PARAM_VALUE =
	// "update_joborder";
	public final static String SEARCH_DEST_FOLLOWUP_JOB_OREDR_PARAM_VALUE = "followup_joborder";
	public final static String SEARCH_DEST_PPM_VISIT_PARAM_VALUE = "ppm_visit_update";
	public final static String SEARCH_DEST_OPEN_JOB_OREDR_PARAM_VALUE = "open_joborder";

	public final static String REPORT_TITLE_PARAM_NAME = "repoTitle";

	public final static String GENERAL_ERROR_MESSAGE = "عفوا .. لقد حدث خطأ غير متوقع بالنظام  ، من فضلك أعد المحاولة مرة أخرى";

	public final static int RESPONSE_OUTPUT_STREAM_BUFFER_SIZE = 8 * 1024;

	public final static String DEVICE_INFO_ATTR_NAME = "deviceInfoObj";
	public final static String JOB_ORDER_INFO_ATTR_NAME = "jobOrderInfoObj";

	public final static String REPORT_TITLE_PREFIX = "التقرير المطلوب :";
	
	public final static int MAX_ALLOWED_ATTACHMENT_SIZE_IN_MB = 5; // in MB
	
	public final static int MAX_ALLOWED_ATTACHMENTS_NO = 5;

	public final static LOGGER_TYPE lOG_LEVEL = LOGGER_TYPE.FULLY_FEATURED;

	public static void main(String[] args) {
		String str = "$7$1$";
		for (String s : str.split("\\$")) {
			System.out.println("ss:" + s);
		}

	}

}
